package com.dzm.phone.utils;

import lombok.Getter;

/**
 * @author Dzm
 * @create 2023-08-12-9:05
 */

@Getter
public enum ResultCode {

   SUCCESS(200, "成功"),
   FAIL(10000, "失败"),
   VAILD_EXCEPTION(10001, "校验错误"),
   SERVICE_ERROR(20000, "服务异常");

   private Integer code;
   private String message;

   ResultCode(Integer code, String message) {
      this.code = code;
      this.message = message;
   }

}
